﻿<%@ Page Language="C#" Inherits="WebSys.UI.Index" %>

<%@ Register Assembly="WebSys.UI" Namespace="WebSys.UI.Control.ZhengShou" TagPrefix="CBW" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>OA办公区</title>
    <link rel="stylesheet" id="skinCss" type="text/css" href="../css/default/easyui.css" />
    <link rel="stylesheet" type="text/css" href="../css/icon.css" />
    <link href="../Themes/Default/Styles/basic.css" rel="stylesheet" />
    <script type="text/javascript" src="../Script/jquery.js"></script>
    <script type="text/javascript" src="../Script/jquery.easyui.min.js"></script>

    <script type="text/javascript">

        //显示进度条
        function ShowLoading() {
            //定时器2秒
            $.messager.progress({
                title: '请稍候',
                msg: '数据加载中...'
            });

        }

        //隐藏进度条
        function HideLoading() {
            $.messager.progress('close');

            //$("#loadbox").hide();
        }



        //控制右侧区域的展开和折叠
        function ctrlRegion(nType, strRegion) {
            strAction = "";
            if (nType == 1) {
                //隐藏east侧区域
                if (strAction == "expand") {
                    $('#divBody').layout('collapse', strRegion); //折叠
                    strAction = "collapse";
                }
            }
            else {
                if (strAction == "collapse") {
                    $('#divBody').layout('expand', strRegion); //展开
                    strAction = "expand";
                }
            }
        }

        //消息框
        function loadMsg(strMsg) {
            $.messager.show({
                title: '待办事项(5秒后自动关闭)',
                msg: strMsg,
                timeout: 5000,
                showType: 'slide'
            });
        }

        //设置标题头
        function loadTitle(strId, strTile) {
            $("#" + strId).panel({ title: strTile });
        }

        //关闭窗口
        function CloseDivDlg() {
            $('#dlgConfig').window('close');
        }

        //打开内嵌网页的通用方法1（window）
        function openDivDlg(strTitle, strUrl) {
            //增加参数queryid
            var divWidth = 800;
            var divHeight = 600;

            $('#dlgConfig').window({
                title: strTitle, width: divWidth, height: divHeight
            });

            $('#iframeConfig').attr("src", strUrl);

            // $('#dlgConfig').window({ maximized: true });
            $('#dlgConfig').window('open');
        }

        $(document).ready(function () {
            initWinInfo(); //加载各类待办件的提醒
            $('#divBody').layout('collapse', 'east');
        });
    </script>
</head>
<body class="easyui-layout" id="divBody" onload="HideLoading()" style="height: 100%;">
    <script type="text/javascript">
        ShowLoading();
    </script>

    <div id="divNorth" region="north" split="false" style="height: 80px; margin: 0px; padding: 0px">
        <div id="top" style="width: 100%">
            <div style="height: 37px; line-height: 30px; text-align: right; padding-top: 35px;">
                &nbsp;&nbsp;
        <input id="btnExit" type="button" value="退出" onclick="javascript: window.parent.location.href = ('Login.aspx');" />
            </div>
        </div>

    </div>


    <%--<div id="divNorth" region="north" split="false" style="height: 46px; margin: 0px; padding: 0px">
        <table style="background-image: url(../images/top_bg.gif); height: 44px" border="0"
            cellspacing="0" cellpadding="0" width="100%">
            <tbody>
                <tr>
                    <td style="color: #e04f22; font-size: 18pt" height="44">
                       国有土地上房屋征收管理系统
                    </td>
                    <td height="44">
                        <a style="float: right" href="Login.aspx" target="_parent">退出登录</a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>--%>
    <div id="divwest" region="west" title='功能菜单' split="true" style="width: 239px;">
        <CBW:eTreeControl ID="eTreeControl" runat="server" SkinExtName="Indexneed/" />
    </div>
    <div id="divsouth" region="south" split="false" style="overflow: hidden; height: 28px;">
        <div class="easyui-layout" fit="true" style="background: #ccc;">
            <div id="starusscale" region="west" split="true" style="width: 239px; z-index: -10;">
            </div>
            <div id="statusbar" region="center">
            </div>
        </div>
    </div>
    <div region="center" title="业务办公区" style="overflow: hidden;" id="divCenter">
        <div class="easyui-tabs" id="divMain" fit="true" border="true">
            <div id="divIndex" title="功能导航" icon="icon-search" closable="false" style="padding: 2px; overflow: hidden;">
                <iframe src="Indexneed/DaohangPage.aspx" width="100%" height="100%" frameboder="0" id="功能导航"></iframe>

            </div>
        </div>
    </div>
</body>
</html>
